inherited FRelatorioNFConferenciaItens: TFRelatorioNFConferenciaItens
  Left = 298
  Top = 177
  Width = 861
  Caption = 'Relat'#243'rio Confer'#234'ncia dos Itens'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 853
    inherited btnPesquisar: TBitBtn
      Left = 8
      Width = 105
      TabOrder = 1
    end
    inherited lbResultado: TStaticText
      TabOrder = 0
    end
  end
  inherited Panel2: TPanel
    Width = 853
  end
  inherited GroupBox1: TGroupBox
    object Label3: TLabel
      Left = 10
      Top = 64
      Width = 35
      Height = 16
      Caption = 'N'#186' NF'
    end
    object Label4: TLabel
      Left = 103
      Top = 64
      Width = 30
      Height = 16
      Caption = 'Serie'
    end
    object Label5: TLabel
      Left = 9
      Top = 20
      Width = 65
      Height = 16
      Caption = 'Fornecedor'
    end
    object DBLCBFornecedor: TDBLookupComboBox
      Left = 9
      Top = 38
      Width = 432
      Height = 22
      Ctl3D = False
      KeyField = 'FORN_CODIGO'
      ListField = 'FORN_RAZAO'
      ListSource = DSFornecedor
      ParentCtl3D = False
      TabOrder = 0
    end
    object EdNF: TEdit
      Left = 9
      Top = 81
      Width = 86
      Height = 22
      Ctl3D = False
      MaxLength = 10
      ParentCtl3D = False
      TabOrder = 1
      OnKeyPress = EdNFKeyPress
    end
    object EdSERIE: TEdit
      Tag = 5
      Left = 102
      Top = 81
      Width = 36
      Height = 22
      Ctl3D = False
      MaxLength = 3
      ParentCtl3D = False
      TabOrder = 2
    end
  end
  inherited RLReport: TRLReport
    Left = 48
    Top = 229
    DataSource = DSPesquisa
    object RLBand2: TRLBand
      Left = 38
      Top = 181
      Width = 718
      Height = 23
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedTop = True
      Borders.FixedBottom = True
      object RLLabel1: TRLLabel
        Left = 1
        Top = 3
        Width = 44
        Height = 16
        Caption = 'C'#243'digo'
      end
      object RLLabel2: TRLLabel
        Left = 60
        Top = 3
        Width = 129
        Height = 16
        Caption = 'Descri'#231#227'o de Entrada'
      end
      object RLLabel3: TRLLabel
        Left = 315
        Top = 3
        Width = 96
        Height = 16
        Caption = 'Ref. Fornecedor'
      end
      object RLLabel4: TRLLabel
        Left = 472
        Top = 3
        Width = 34
        Height = 16
        Caption = 'Unid.'
      end
      object RLLabel5: TRLLabel
        Left = 510
        Top = 3
        Width = 43
        Height = 16
        Caption = 'Quant.'
      end
      object RLLabel6: TRLLabel
        Left = 556
        Top = 3
        Width = 73
        Height = 16
        Caption = 'Localiza'#231#227'o'
      end
      object RLLabel7: TRLLabel
        Left = 633
        Top = 3
        Width = 72
        Height = 16
        Caption = 'Observa'#231#227'o'
      end
    end
    object RLBand3: TRLBand
      Left = 38
      Top = 204
      Width = 718
      Height = 40
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = False
      object RLDBText2: TRLDBText
        Left = 2
        Top = 4
        Width = 99
        Height = 16
        DataField = 'PROD_CODIGO'
        DataSource = DSPesquisa
      end
      object RLDBText3: TRLDBText
        Left = 59
        Top = 4
        Width = 253
        Height = 16
        AutoSize = False
        DataField = 'PROD_DESCRICAOENT'
        DataSource = DSPesquisa
      end
      object RLDBText10: TRLDBText
        Left = 315
        Top = 4
        Width = 153
        Height = 16
        AutoSize = False
        DataField = 'PROD_REFERENCIA'
        DataSource = DSPesquisa
      end
      object RLDBText11: TRLDBText
        Left = 472
        Top = 4
        Width = 117
        Height = 16
        DataField = 'PROD_UNIDSAIDA'
        DataSource = DSPesquisa
      end
      object RLDBText12: TRLDBText
        Left = 398
        Top = 4
        Width = 155
        Height = 16
        Alignment = taRightJustify
        DataField = 'ITENS_NF_QUANTIDADE'
        DataSource = DSPesquisa
      end
      object RLDBText13: TRLDBText
        Left = 558
        Top = 4
        Width = 137
        Height = 16
        DataField = 'PROD_LOCALIZACAO'
        DataSource = DSPesquisa
      end
      object RLLabel15: TRLLabel
        Left = 634
        Top = 3
        Width = 95
        Height = 16
        Caption = '_____________'
      end
    end
    object RLBand4: TRLBand
      Left = 38
      Top = 120
      Width = 718
      Height = 61
      BandType = btHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      object RLLabel8: TRLLabel
        Left = 1
        Top = 4
        Width = 81
        Height = 16
        Caption = 'Fornecedor:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 1
        Top = 23
        Width = 43
        Height = 16
        Caption = 'N'#186' NF:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel10: TRLLabel
        Left = 1
        Top = 40
        Width = 113
        Height = 16
        Caption = 'Data da emiss'#227'o:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel11: TRLLabel
        Left = 473
        Top = 3
        Width = 86
        Height = 16
        Caption = 'Digitado por:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel12: TRLLabel
        Left = 473
        Top = 22
        Width = 28
        Height = 16
        Caption = 'Em:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel13: TRLLabel
        Left = 473
        Top = 40
        Width = 110
        Height = 16
        Caption = 'Data da entrada:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLDBText4: TRLDBText
        Left = 80
        Top = 5
        Width = 162
        Height = 16
        DataField = 'NF_FORNECEDOR_DESC'
        DataSource = DSPesquisa
      end
      object RLDBText5: TRLDBText
        Left = 113
        Top = 40
        Width = 122
        Height = 16
        DataField = 'NF_DATAEMISSAO'
        DataSource = DSPesquisa
      end
      object RLDBText6: TRLDBText
        Left = 558
        Top = 3
        Width = 140
        Height = 16
        DataField = 'USUARIO_CADASTRO'
        DataSource = DSPesquisa
      end
      object RLDBText7: TRLDBText
        Left = 501
        Top = 22
        Width = 116
        Height = 16
        DataField = 'DATA_CADASTRO'
        DataSource = DSPesquisa
      end
      object RLDBText8: TRLDBText
        Left = 46
        Top = 23
        Width = 108
        Height = 16
        DataField = 'NF_NOTAFISCAL'
        DataSource = DSPesquisa
      end
      object RLLabel14: TRLLabel
        Left = 103
        Top = 23
        Width = 60
        Height = 16
        Caption = 'N'#186' S'#233'rie:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLDBText9: TRLDBText
        Left = 163
        Top = 23
        Width = 67
        Height = 16
        DataField = 'NF_SERIE'
        DataSource = DSPesquisa
      end
      object RLDBText14: TRLDBText
        Left = 584
        Top = 39
        Width = 125
        Height = 16
        DataField = 'NF_DATAESTOQUE'
        DataSource = DSPesquisa
      end
    end
    object RLBand5: TRLBand
      Left = 38
      Top = 244
      Width = 718
      Height = 46
      BandType = btSummary
      object RLLabel16: TRLLabel
        Left = 103
        Top = 27
        Width = 228
        Height = 16
        Caption = 'Conferente: ______________________'
      end
      object RLLabel17: TRLLabel
        Left = 360
        Top = 26
        Width = 210
        Height = 16
        Caption = 'Data: __/__/____          Hora: __:__'
      end
    end
  end
  inherited QPesquisa: TQuery
    Active = True
    SQL.Strings = (
      'select'
      'produto.prod_codigo,'
      'produto.prod_descricaoent,'
      'produto.prod_localizacao,'
      'produto.prod_referencia,'
      'produto.prod_unidsaida,'
      'notafiscal.nf_notafiscal,'
      'notafiscal.nf_serie,'
      'notafiscal.nf_fornecedor_desc,'
      'notafiscal.nf_fornecedor,'
      'itensnotafiscal.itens_nf_quantidade,'
      'notafiscal.nf_dataemissao,'
      'notafiscal.data_cadastro,'
      'notafiscal.usuario_cadastro,'
      'notafiscal.nf_dataestoque'
      ''
      'from notafiscal'
      ''
      
        'inner join itensnotafiscal on (itensnotafiscal.itens_nf_notafisc' +
        'al = notafiscal.nf_codigo)'
      
        'inner join produto on (produto.prod_codigo = itensnotafiscal.ite' +
        'ns_nf_produto)'
      ''
      'where (notafiscal.nf_situacao = 1)and'
      
        '      ((notafiscal.excluido <>  '#39'S'#39')AND(notafiscal.excluido is n' +
        'ot null))and'
      '      (notafiscal.nf_fornecedor = 8180 ) and'
      '      (notafiscal.nf_notafiscal = 150199)and'
      '      (notafiscal.nf_serie = 1)')
    Left = 336
    Top = 345
  end
  inherited DSPesquisa: TDataSource
    Left = 248
    Top = 350
  end
  object DSFornecedor: TDataSource
    DataSet = DMGestao.QFornecedor
    Left = 400
    Top = 352
  end
end
